package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 12/8/14.
 */
public class mynext6play extends NXTThread{
    public mynext6play() {setNXTThreadName("Dominate");}
    public void run() {
        runMotor(PORT_A,95);
        runMotor(PORT_B,100);
        wait(8900);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A,100);
        runMotor(PORT_B,95);
        wait(2000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(18000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();
    }
}
